﻿using System;
using System.Collections.Generic;

namespace UTS_Subject_Enrolment_System.Model
{
    public class Student : User
    {
        public List<Subject> EnrolledSubjects { get; set; }
        public List<Subject> CompletedSubjects { get; set; }
        public List<Request> Requrests { get; set; }

        public Student (int id, string name, Role role = Role.student) : base (id, name, role)
        {   }

        public bool IfUnderMaxEnrollment()
        { 
            return EnrolledSubjects.Count < 4; 
        }


        
    }
}
